import Vue from 'vue'
import router from './router'
import App from './App.vue'
import echarts from 'echarts'
import lodash from 'lodash'
import utils from './utils/index'
import Antd from 'ant-design-vue';
import VueParticles from 'vue-particles'

// import style
import 'ant-design-vue/dist/antd.css';

import './utils/flexible'
// 将自动注册所有组件为全局组件
Vue.use(Antd);
Vue.use(VueParticles)
Vue.prototype.$echarts = echarts;
Vue.prototype.$tools = lodash
Vue.prototype.$utils = utils
Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router
}).$mount('#app')
